package com.home.free.builder;

abstract class Builder {
    /**
     * 创建产品对象
     */
    protected Product product = new Product();

    /**
     * 构造A
     */
    public abstract void buildPartA();

    /**
     * 构造B
     */
    public abstract void buildPartB();

    /**
     * 构造C
     */
    public abstract void buildPartC();

    /**
     *
     * @return
     */
    public Product getBuildProduct() {
        return product;
    }
}
